Termination of system F-bounded (Note)

نویسنده

  • Giorgio Ghelli
چکیده

System F-bounded is a second order lambda calculus with subtyping. It extends system F≤ (see [Cardelli Wegner 85, Curien Ghelli 92, Ghelli 90, Cardelli et al. 91]) in that bounds of typed quantification may contain the bounded variable. In object-oriented terms, this feature allows one to write functions which accept parameters belonging to all the classes which inherit from one class. F-bounded quantification was introduced in [Canning et al. 89] and is currently included in many proposals for strongly typed object-oriented languages (e.g., [Bruce 93, Mitchell 90, Katiyar et al. 94]). A typed l-calculus is strongly normalizing (or terminating) when no infinite reduction chain starts from a typed term of that calculus. Termination is related to the possibility of solving some recursive type equations. For example, in a system with subtyping, if the disequation system {a ≤ a¤b, a¤b ≤ g, a¤b ≤ g¤b'}2 has a solution, then the non-terminating term (lx:a.x(x))(lx:a.x(x)):b ' is well typed. Some recursive disequations (e.g. a ≤ a¤b) can already be solved in F≤ by exploiting the Top type (e.g. a=Top¤b). Fbounded quantification introduces a new class of solutions, involving type variables (e.g. a=t when t ≤ t¤b). This raises the question of whether the addition of F-bounded quantification may allow non-terminating terms to be written. In this note we prove that such terms cannot, in fact, be written. Our proof is based on the computability method [Girard 72], and our approach is similar to the one used in [Mitchell 86] to prove termination for F, and, more closely, to the proof of termination of F≤ given in [Ghelli 90]. We first show that the type erasure of each well-typed F-bounded term is strongly normalizing. To this aim, we define an interpretation of F-bounded types such that each type is interpreted with a superset of the type erasures of all F-bounded terms with that type, and this superset is small enough to be contained in the set SN of strongly normalizing l-terms: G ∫ a: T „ typeErasure(a) Ï [G ∫ T] and [G ∫ T] Î SN. From this, we derive strong normalization for system F-bounded. System F-bounded is introduced in Section 2. Strong normalization is proved in Section 3.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A note on the socle of certain types of f-rings

For any reduced commutative $f$-ring with identity and bounded inversion, we show that a condition which is obviously necessary for the socle of the ring to coincide with the socle of its bounded part, is actually also sufficient. The condition is that every minimal ideal of the ring consist entirely of bounded elements. It is not too stringent, and is satisfied, for instance, by rings of ...

متن کامل

Effective Termination of Kohn's Algorithm for Subelliptic Multipliers

Introduction. In this note we will discuss the problem of the effective termination of Kohn’s algorithm for subelliptic multipliers for bounded smooth weakly pseudoconvex domains of finite type [Ko79]. We will give a complete proof for the case of special domains and will only indicate briefly how this method is to be extended to the case of general bounded smooth weakly pseudoconvex domains of...

متن کامل

A note on blow-up in parabolic equations with local and localized sources

‎This note deals with the systems of parabolic equations with local and localized sources involving $n$ components‎. ‎We obtained the exponent regions‎, ‎where $kin {1,2,cdots,n}$ components may blow up simultaneously while the other $(n-k)$ ones still remain bounded under suitable initial data‎. ‎It is proved that different initial data can lead to different blow-up phenomena even in the same ...

متن کامل

Homomorphisms on Topological Groups from the Perspective of Bourbaki-boundedness

In this note we study some topological properties of bounded sets and Bourbaki-bounded sets. Also we introduce two types of Bourbaki-bounded homomorphisms on topological groups  including, n$-$Bourbaki-bounded homomorphisms and$hspace{1mm}$ B$-$Bourbaki-bounded homomorphisms. We compare them to each other and with the class of continuous homomorphisms. So, two topologies are presented on them a...

متن کامل

A NORM INEQUALITY FOR CHEBYSHEV CENTRES

In this paper, we study the Chebyshev centres of bounded subsets of normed spaces and obtain a norm inequality for relative centres. In particular, we prove that if T is a remotal subset of an inner product space H, and F is a star-shaped set at a relative Chebyshev centre c of T with respect to F, then llx - qT (x)1I2 2 Ilx-cll2 + Ilc-qT (c) 112 x E F, where qT : F + T is any choice functi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007